Smartcat\Includes\Services\TranslationRequest\SmartcatDocumentsManager S

Total Complexity 34
Dependencies 3
Dependents 3
Total lines 243
Lines of code 185
Logical lines of code 60
Comment lines 0
Methods 20
Properties 4

Methods 20

Method Rating Maintainability Complexity Lines of code
getTranslationRequests()
A
43 11 48
updateDocumentsProgress()
S
49 5 32
__construct()
S
71 1 6
removeLanguage()
S
71 1 6
deleteDocument()
S
73 1 5
deleteDocumentsByProjectId()
S
73 1 5
removePost()
S
73 1 5
removePostFromTranslationRequest()
S
71 1 6
deleteTranslationRequest()
S
73 1 5
getTranslationRequestIds()
S
79 1 3
setPostIdByDocumentId()
S
73 1 5
getPostDocuments()
S
69 1 7
getPostProjectId()
S
67 1 8
getPostTranslatedLanguages()
S
69 1 7
updateDocumentProgress()
S
72 1 5
translationRequestExists()
S
67 1 8
hasTranslationRequest()
S
67 1 8
create()
S
70 1 6
getTranslationRequestId()
S
68 1 7
getTableName()
S
80 1 3